package com.sunyur.tailor.channel.service.middle.workflow;

import com.sunyur.tailor.channel.common.inner.base.MsgResultCode;
import com.sunyur.tailor.channel.common.middle.base.ChannelResult;

/**
 * @Description 外部审批业务接口
 * @Author XuHui
 * @Date 2021/7/7 14:37
 * @Version 1.0
 */
public interface MiddleWorkFlowService {

    /**
     * 流程开始同步外系统
     */
    ChannelResult<Boolean> start(MsgResultCode msgResultCode);

    /**
     * 流程取消同步外系统
     */
    ChannelResult<Boolean> cancel(MsgResultCode msgResultCode);

}
